package com.milk.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Lottery {

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "奖品类型  1代表积分 2代表满减卷 3代表优惠卷 4代表奶茶")
    private Integer type;

    @ApiModelProperty(value = "奖品名字")
    private String name;

    @ApiModelProperty(value = "此奖品的ID")
    private Long nameId;

    @ApiModelProperty(value = "奖品照片")
    private String image;

    @ApiModelProperty(value = "状态 0代表禁用 1代表启用")
    private Integer status;

}
